<%@ page import="com.Web.Person.Course" %><%--
  Created by IntelliJ IDEA.
  User: dell
  Date: 2024/8/6
  Time: 21:26
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>updateCourse</title>
</head>
<body>
    <%
        Course course = (Course) request.getAttribute("course");
    %>
    <form action="/course?method=update" method="post">
        <table>
            <input type="hidden" name="id" value="<%=course.getId()%>">
            <tr>
                <td>课程名：</td>
                <td><input type="text" name="name" value="<%=course.getName()%>"></td>
            </tr>
            <tr>
                <td>学分：</td>
                <td><input type="text" name="credit" value="<%=course.getCredit()%>"></td>
            </tr>
            <tr>
                <td>
                    <input type="submit" value="修改"/>
                </td>
                <td>
                    <input type="reset" value="重置"/>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
